#include <bus_vector_map.hpp>
Public Member Functions | |
BusVectorMap (boost::shared_ptr< _network > network) | |
~BusVectorMap () | |
boost::shared_ptr < gridpack::math::Vector > | mapToVector (void) |
boost::shared_ptr < gridpack::math::RealVector > | mapToRealVector (void) |
gridpack::math::Vector * | intMapToVector (void) |
void | mapToVector (gridpack::math::Vector &vector) |
void | mapToRealVector (gridpack::math::RealVector &vector) |
void | mapToVector (boost::shared_ptr< gridpack::math::Vector > &vector) |
void | mapToRealVector (boost::shared_ptr< gridpack::math::RealVector > &vector) |
void | mapToBus (const gridpack::math::Vector &vector) |
void | mapToBus (const gridpack::math::RealVector &vector) |
void | mapToBus (boost::shared_ptr< gridpack::math::Vector > &vector) |
void | mapToBus (boost::shared_ptr< gridpack::math::RealVector > &vector) |
gridpack::mapper::BusVectorMap< _network >::BusVectorMap | ( | boost::shared_ptr< _network > | network | ) |
gridpack::mapper::BusVectorMap< _network >::~BusVectorMap | ( | ) |
gridpack::math::Vector* gridpack::mapper::BusVectorMap< _network >::intMapToVector | ( | void | ) |
Create a vector from the current bus state and return a conventional pointer to it. Used for Fortran interface
References gridpack::utility::CoarseTimer::createCategory(), gridpack::utility::CoarseTimer::start(), and gridpack::utility::CoarseTimer::stop().
void gridpack::mapper::BusVectorMap< _network >::mapToBus | ( | boost::shared_ptr< gridpack::math::RealVector > & | vector | ) |
void gridpack::mapper::BusVectorMap< _network >::mapToBus | ( | boost::shared_ptr< gridpack::math::Vector > & | vector | ) |
Push data from vector onto buses. Vector must be created with the mapToVector method using the same BusVectorMap
vector | vector containing data to be pushed to buses |
References gridpack::mapper::BusVectorMap< _network >::mapToBus().
void gridpack::mapper::BusVectorMap< _network >::mapToBus | ( | const gridpack::math::RealVector & | vector | ) |
Push data from vector onto buses. Vector must be created with the mapToVector method using the same BusVectorMap
vector | vector containing data to be pushed to buses |
References gridpack::utility::CoarseTimer::createCategory(), gridpack::component::MatVecInterface::setValues(), gridpack::utility::CoarseTimer::start(), and gridpack::utility::CoarseTimer::stop().
void gridpack::mapper::BusVectorMap< _network >::mapToBus | ( | const gridpack::math::Vector & | vector | ) |
Push data from vector onto buses. Vector must be created with the mapToVector method using the same BusVectorMap
vector | vector containing data to be pushed to buses |
References gridpack::utility::CoarseTimer::createCategory(), gridpack::component::MatVecInterface::setValues(), gridpack::utility::CoarseTimer::start(), and gridpack::utility::CoarseTimer::stop().
void gridpack::mapper::BusVectorMap< _network >::mapToRealVector | ( | boost::shared_ptr< gridpack::math::RealVector > & | vector | ) |
Reset a vector from the current bus state (vector should be created with same mapper).
vector | existing vector that should be reset |
References gridpack::mapper::BusVectorMap< _network >::mapToRealVector().
void gridpack::mapper::BusVectorMap< _network >::mapToRealVector | ( | gridpack::math::RealVector & | vector | ) |
Reset a vector from the current bus state (vector should be created with same mapper)
vector | existing vector that should be reset |
References gridpack::utility::CoarseTimer::createCategory(), gridpack::utility::CoarseTimer::start(), and gridpack::utility::CoarseTimer::stop().
boost::shared_ptr<gridpack::math::RealVector> gridpack::mapper::BusVectorMap< _network >::mapToRealVector | ( | void | ) |
Create a vector from the current bus state
References gridpack::utility::CoarseTimer::createCategory(), gridpack::utility::CoarseTimer::start(), and gridpack::utility::CoarseTimer::stop().
void gridpack::mapper::BusVectorMap< _network >::mapToVector | ( | boost::shared_ptr< gridpack::math::Vector > & | vector | ) |
Reset a vector from the current bus state (vector should be created with same mapper).
vector | existing vector that should be reset |
References gridpack::mapper::BusVectorMap< _network >::mapToVector().
void gridpack::mapper::BusVectorMap< _network >::mapToVector | ( | gridpack::math::Vector & | vector | ) |
Reset a vector from the current bus state (vector should be created with same mapper)
vector | existing vector that should be reset |
References gridpack::utility::CoarseTimer::createCategory(), gridpack::utility::CoarseTimer::start(), and gridpack::utility::CoarseTimer::stop().
boost::shared_ptr<gridpack::math::Vector> gridpack::mapper::BusVectorMap< _network >::mapToVector | ( | void | ) |
Create a vector from the current bus state
References gridpack::utility::CoarseTimer::createCategory(), gridpack::utility::CoarseTimer::start(), and gridpack::utility::CoarseTimer::stop().